package com.example.myview;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.widget.LinearLayout;

public class MsgView extends LinearLayout {
    public interface IcbCall{
        public void call(Object obj,float x, float y);
        public void cancle(Object obj);
    };
    public IcbCall icb;
    public MsgView(Context context) {
        super(context);
    }

    public MsgView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }
    public void setIcb(IcbCall icb)
    {
          this.icb=icb;
    }
}
